export var scheduleStatusList = [{ value: 0, name: '未开始' }, { value: 1, name: '进行中' }, { value: 2, name: '已终审' }]
export var scheduleTypes = [{ value: 1, name: '全部' }, { value: 2, name: '鲜食' }, { value: 3, name: '非鲜食' }]
export var scheduleGroups = [{ value: 1, name: '常规选品' }, { value: 2, name: '临时选品' }]

/** 下拉列表 */
var selector = {
  scheduleStatusList: scheduleStatusList,
  scheduleTypes: scheduleTypes,
  scheduleGroups: scheduleGroups,
  channels: [{ value: 1, name: '沃尔玛到家' }, { value: 2, name: '京东到家' }, { value: 3, name: '次日达' }],
  storeTypes: [{ value: 1, name: 'Hyper' }]
}

// 获取下拉框
export function getSelector() {
  return selector
}

export function emptySchedule() {
  return {
    id: null,
    scheduleSubject: null,
    effDate: null,
    operationEndDate: null,
    scheduleType: null,
    cateScope: null,
    dataStatus: null,
    scheduleGroup: null,
    channel: '1,2',
    storeType: 1
  }
}
